﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace FortuneHeavenCommon.DataMap
{
    public partial class Equipment
    {
        public const string TABLE_NAME = "Equipment";
        public const string INSERT_SQL = "insert into Equipment([ID],[Name],[Price],[Description],[Type],[OverDue],[Status],[SubmitTime],[Image]) values (@ID,@Name,@Price,@Description,@Type,@OverDue,@Status,@SubmitTime,@Image)";
        public const string UPDATE_SQL = "UPDATE Equipment  set  [ID] = @ID , [Name] = @Name , [Price] = @Price , [Description] = @Description , [Type] = @Type , [OverDue] = @OverDue , [Status] = @Status , [SubmitTime] = @SubmitTime , [Image] = @Image  where ID = @ID";
        /// <summary>
        ///
        /// </summary>
        public int ID
        {
            get;
            set;
        }
        /// <summary>
        ///
        /// </summary>
        public string Name
        {
            get;
            set;
        }
        /// <summary>
        ///
        /// </summary>
        public int Price
        {
            get;
            set;
        }
        /// <summary>
        ///
        /// </summary>
        public string Description
        {
            get;
            set;
        }
        /// <summary>
        ///
        /// </summary>
        public int Type
        {
            get;
            set;
        }
        /// <summary>
        ///
        /// </summary>
        public DateTime OverDue
        {
            get;
            set;
        }
        /// <summary>
        ///
        /// </summary>
        public int Status
        {
            get;
            set;
        }

        /// <summary>
        /// 
        /// </summary>
        public DateTime SubmitTime
        {
            get;
            set;
        }

        public string Image
        {
            get;
            set;
        }
    }

}
